<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="RAT">
	<html>
		<head>
			<title>XML+XSLT test</title>
			<link rel="stylesheet" type="text/css" href="test.css" />

		</head>
		<body>
			<h1>Team Rocket</h1>
			<h2><u><i>XML Spike</i></u></h2>
			<table border="1">
				<tr>
					<th>Name</th>
					<th>Email Address</th>
				</tr>
				<xsl:apply-templates/>
			</table>
		</body>
	</html>
</xsl:template>

<xsl:template match="member">
	<tr>
		<td><xsl:apply-templates select="name"/></td>
		<td><xsl:value-of select="email"/></td>
	</tr>
</xsl:template>


<xsl:template match="name">
	<xsl:value-of select="last_name"/>,<xsl:value-of select="first_name"/>
</xsl:template>

</xsl:stylesheet>